<form id="pagerForm" method="post" action="">
    <input type="hidden" name="pageNum" value="{$pageNum}" />
    <input type="hidden" name="numPerPage" value="{$numPerPage}" />
    <input type="hidden" name="orderField" value="{$orderField}" />
    <input type="hidden" name="orderDirection" value="{$orderDirection}" />
</form>
<div class="pageHeader">
    	<form rel="pagerForm" onsubmit="return navTabSearch(this);" action="" method="post">
		<input type="hidden" name="g" value="{$group_name}" />
		<input type="hidden" name="a" value="{$action_name}" />
	<div class="searchBar">
		<table class="searchContent">
			<tr>
				<td>
					<ul class="searchContent">
					<li style="width:220px;">关键字：<input type="text" name="keywords"  class="input-text" value="{$keywords}" class="textInput"/></li>
					<li style="width:80px;">
						<select name="sfield" class="combox">
						<option value="all" {if $sfied=='all'}selected="selected"{/if}>全部</option>
						<option value="userid" {if $wherefields == 'userid'}selected="selected"{/if}>用户ID</option>
						<option value="username" {if $wherefields == 'username'}selected="selected"{/if}>用户名</option>
						</select>
						<input type="hidden" name="sfield_name" value="username,userid" />
					</li>
					<li style="width:80px;">
						<select name="subject" class="combox">
						<option value="">资金类型</option>
						<option value="CV" {if $where['subject'] == 'CV'} selected='selected' {/if} >CV</option>
						<option value="BV" {if $where['subject'] == 'BV'} selected='selected' {/if} >BV</option>
						<option value="MV" {if $where['subject'] == 'MV'} selected='selected' {/if} >MV</option>
						<option value="PV" {if $where['subject'] == 'PV'} selected='selected' {/if} >PV</option>
						<option value="CNY" {if $where['subject'] == 'CNY'} selected='selected' {/if} >CNY</option>
						</select>
					</li>
					</ul>
				</td>
				<td><div class="buttonActive"><div class="buttonContent"><button type="submit">检索</button></div></div>
					<div class="buttonActive"><div class="buttonContent"><button type="reset">清空</button></div></div>
				</td>
			</tr>
		</table>
	</div>
	</form>
    </form>
    

</div>

<div class="pageContent">
    <div id="w_list_print">
        <table class="list" width="100%" targetType="navTab" asc="asc" desc="desc" layoutH="63">
             <thead>
      		<tr>
				<th width="5%" orderField="id" {if $orderField=='id'}class="{$orderDirection}"{/if}>编号</th>
				<th width="10%" orderField="userid" {if $orderField=='userid'}class="{$orderDirection}"{/if}>用户</th>
				<th width="10%" orderField="subject" {if $orderField=='subject'}class="{$orderDirection}"{/if}>类型</th>
				<th width="10%" orderField="value" {if $orderField=='value'}class="{$orderDirection}"{/if}>金额</th>
				<th width="10%" align="center" orderField="ctime" {if $orderField=='ctime'}class="{$orderDirection}"{/if}>日期</th>

			</tr>
      	</thead>
            	<tbody>
		<volist name="list" id="vo">
      	<tr target="sid_user">
			<td height="50">{$vo['userid']}</td>
            <td><a  title="查看用户信息" target="dialog" width="580" height="500" rel="User_detail_{$vo['id']}" href="{:U('User/detail',array('id'=>$vo['userid']))}">({$vo['userid']})</a>
			 &nbsp;&nbsp;| &nbsp;&nbsp;
			 <a title='查看所有资金' href="{:U('Money/index',array('keywords'=>$vo['id'],'sfield'=>'id'))}" target="navTab" rel="Money_index_{$vo['userid']}">{$vo['username']} </a></td>
      		<td height="50">{$vo['subject']}</td>
			<td><font color="red">{$vo['value']/100}</font></td>
			<td>{$vo['mtime']|date='Y-m-d H:i:s',###}</td>
           
      	</tr>
		</volist>
      	</tbody>
        </table>
    </div>

<include file="Index:pages" />
</div>

